<?php if($data){ ?>
<div id="sanpham_right">
           	    <div id="title_right">
            		<p id="title_right_left"></p>
            		<div id="title_right_center">
            		  <p class="chu_title">CẬP NHẬT LOẠI HÀNG</p>
            		</div>
           			<p id="title_right_right"></p>
             	</div>
                <div id="noidung_right">
                <!-- gio hang -->
                	<form name="update" action="" method="post" >
							<div id="con_giohang">
    <table width="570" cellspacing="5" cellpadding="5" border="1" class="table_cart">
                                    <tr> 
	<td width = "200" valign = "top" align = "center"> Chủng loại</td>
	<td width = "270" valign = "top" align = "center">
		<select name = "cmb_choice" size = "1">
		<?php 
		if(is_array($data['listcl'])){
			foreach ($data['listcl'] as $item){
		?>
			<option value = "<?php echo $item['MaCL'];?>"
				<?php
					if($data['MaCL'] == $item['MaCL']){
						echo "selected";
					} 
					
				?>>
				<?php echo $item['TenCL'];?>
			</option>
		<?php
			}
		}
		?>
		</select>
	</td>
</tr>
<tr> 
	<td width = "200" valign = "top" align = "center"> Loại hàng </td>
	<td width = "270" valign = "top" align = "center">
		<input name = "tenlh" type = "text" value = "<?php echo $data['TenLH'];?>" id="input"/>
	</td>
</tr>
<tr>
	<td width = "" valign = "top" colspan = "2" align = "center"><input name = "btok" type = "submit" value = "Cập nhật"/></td>
</tr>
		</table>
		</div>
                  
                           
					</form>
                    <!-- end -->
                </div>
           </div>
           <?php }?>